import login_register_json
def main():
    print("------------------欢迎您！------------------------")
    while True:
        print("1.注册 2.登录 3.退出")
        choice=int(input("请输入您的选择："))
        if choice==1:
           login_register_json.register()
        elif choice==2:
            login_register_json.login()
        elif choice==3:
            print("退出")
            break
        else:
            print("输入有误")

if __name__ == '__main__':
    main()